﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class EntityFrameworkCoreEx
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class EntityFrameworkCoreEx
   ">
    <meta name="generator" content="docfx 2.40.1.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../images/logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
              <a class="navbar-brand" href="https://github.com/paillave/Etl.Net" style="float:right">
                <img id="logo" class="svg" src="../images/github.svg" style="height:52px">
              </a>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx">
  
  
  <h1 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx" class="text-break">Class EntityFrameworkCoreEx
  </h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">EntityFrameworkCoreEx</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="Paillave.Etl.EntityFrameworkCore.Extensions.html">Paillave.Etl.EntityFrameworkCore.Extensions</a></h6>
  <h5 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class EntityFrameworkCoreEx</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  
  
  <a id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_CrossApplyEntityFrameworkCoreQuery_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.CrossApplyEntityFrameworkCoreQuery*"></a>
  <h4 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_CrossApplyEntityFrameworkCoreQuery__3_IStream___0__System_String_ISingleStream___1__System_Func___0___1_IQueryable___2___System_Boolean_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.CrossApplyEntityFrameworkCoreQuery``3(IStream{``0},System.String,ISingleStream{``1},System.Func{``0,``1,IQueryable{``2}},System.Boolean)">CrossApplyEntityFrameworkCoreQuery&lt;TIn, TResource, TOut&gt;(IStream&lt;TIn&gt;, String, ISingleStream&lt;TResource&gt;, Func&lt;TIn, TResource, IQueryable&lt;TOut&gt;&gt;, Boolean)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IStream&lt;TOut&gt; CrossApplyEntityFrameworkCoreQuery&lt;TIn, TResource, TOut&gt;(this IStream&lt;TIn&gt; stream, string name, ISingleStream&lt;TResource&gt; dbContextStream, Func&lt;TIn, TResource, IQueryable&lt;TOut&gt;&gt; getQuery, bool noParallelisation = false)
    where TResource : DbContext</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td><span class="parametername">stream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">ISingleStream</span>&lt;TResource&gt;</td>
        <td><span class="parametername">dbContextStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TIn, TResource, <span class="xref">IQueryable</span>&lt;TOut&gt;&gt;</td>
        <td><span class="parametername">getQuery</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">noParallelisation</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TOut&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TIn</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TResource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TOut</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_EntityFrameworkCoreDelete_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.EntityFrameworkCoreDelete*"></a>
  <h4 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_EntityFrameworkCoreDelete__3_IStream___0__System_String_ISingleStream___2__Expression_System_Func___0___1_System_Boolean___" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.EntityFrameworkCoreDelete``3(IStream{``0},System.String,ISingleStream{``2},Expression{System.Func{``0,``1,System.Boolean}})">EntityFrameworkCoreDelete&lt;TIn, TEntity, TCtx&gt;(IStream&lt;TIn&gt;, String, ISingleStream&lt;TCtx&gt;, Expression&lt;Func&lt;TIn, TEntity, Boolean&gt;&gt;)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IStream&lt;TIn&gt; EntityFrameworkCoreDelete&lt;TIn, TEntity, TCtx&gt;(this IStream&lt;TIn&gt; inputStream, string name, ISingleStream&lt;TCtx&gt; dbContextStream, Expression&lt;Func&lt;TIn, TEntity, bool&gt;&gt; match)
    where TEntity : class where TCtx : DbContext</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td><span class="parametername">inputStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">ISingleStream</span>&lt;TCtx&gt;</td>
        <td><span class="parametername">dbContextStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Expression</span>&lt;<span class="xref">System.Func</span>&lt;TIn, TEntity, <span class="xref">System.Boolean</span>&gt;&gt;</td>
        <td><span class="parametername">match</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TIn</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TEntity</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TCtx</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_EntityFrameworkCoreLookup_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.EntityFrameworkCoreLookup*"></a>
  <h4 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_EntityFrameworkCoreLookup__5_IStream___0__System_String_ISingleStream___2__Expression_System_Func___0___4___Expression_System_Func___1___4___System_Func___0___1___3__Expression_System_Func___1_System_Boolean___System_Func___0___1__System_Int32_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.EntityFrameworkCoreLookup``5(IStream{``0},System.String,ISingleStream{``2},Expression{System.Func{``0,``4}},Expression{System.Func{``1,``4}},System.Func{``0,``1,``3},Expression{System.Func{``1,System.Boolean}},System.Func{``0,``1},System.Int32)">EntityFrameworkCoreLookup&lt;TIn, TEntity, TCtx, TOut, TKey&gt;(IStream&lt;TIn&gt;, String, ISingleStream&lt;TCtx&gt;, Expression&lt;Func&lt;TIn, TKey&gt;&gt;, Expression&lt;Func&lt;TEntity, TKey&gt;&gt;, Func&lt;TIn, TEntity, TOut&gt;, Expression&lt;Func&lt;TEntity, Boolean&gt;&gt;, Func&lt;TIn, TEntity&gt;, Int32)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IStream&lt;TOut&gt; EntityFrameworkCoreLookup&lt;TIn, TEntity, TCtx, TOut, TKey&gt;(this IStream&lt;TIn&gt; inputStream, string name, ISingleStream&lt;TCtx&gt; dbContextStream, Expression&lt;Func&lt;TIn, TKey&gt;&gt; getLeftStreamKey, Expression&lt;Func&lt;TEntity, TKey&gt;&gt; getEntityStreamKey, Func&lt;TIn, TEntity, TOut&gt; resultSelector, Expression&lt;Func&lt;TEntity, bool&gt;&gt; defaultCache, Func&lt;TIn, TEntity&gt; createIfNotFound = null, int cacheSize = 10000)
    where TEntity : class where TCtx : DbContext</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td><span class="parametername">inputStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">ISingleStream</span>&lt;TCtx&gt;</td>
        <td><span class="parametername">dbContextStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Expression</span>&lt;<span class="xref">System.Func</span>&lt;TIn, TKey&gt;&gt;</td>
        <td><span class="parametername">getLeftStreamKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Expression</span>&lt;<span class="xref">System.Func</span>&lt;TEntity, TKey&gt;&gt;</td>
        <td><span class="parametername">getEntityStreamKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TIn, TEntity, TOut&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Expression</span>&lt;<span class="xref">System.Func</span>&lt;TEntity, <span class="xref">System.Boolean</span>&gt;&gt;</td>
        <td><span class="parametername">defaultCache</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TIn, TEntity&gt;</td>
        <td><span class="parametername">createIfNotFound</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">cacheSize</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TOut&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TIn</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TEntity</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TCtx</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TOut</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_EntityFrameworkCoreLookup_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.EntityFrameworkCoreLookup*"></a>
  <h4 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_EntityFrameworkCoreLookup__5_IStream___0__System_String_ISingleStream___2__Expression_System_Func___0___4___Expression_System_Func___1___4___System_Func___0___1___3__System_Func___0___1__System_Int32_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.EntityFrameworkCoreLookup``5(IStream{``0},System.String,ISingleStream{``2},Expression{System.Func{``0,``4}},Expression{System.Func{``1,``4}},System.Func{``0,``1,``3},System.Func{``0,``1},System.Int32)">EntityFrameworkCoreLookup&lt;TIn, TEntity, TCtx, TOut, TKey&gt;(IStream&lt;TIn&gt;, String, ISingleStream&lt;TCtx&gt;, Expression&lt;Func&lt;TIn, TKey&gt;&gt;, Expression&lt;Func&lt;TEntity, TKey&gt;&gt;, Func&lt;TIn, TEntity, TOut&gt;, Func&lt;TIn, TEntity&gt;, Int32)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IStream&lt;TOut&gt; EntityFrameworkCoreLookup&lt;TIn, TEntity, TCtx, TOut, TKey&gt;(this IStream&lt;TIn&gt; inputStream, string name, ISingleStream&lt;TCtx&gt; dbContextStream, Expression&lt;Func&lt;TIn, TKey&gt;&gt; getLeftStreamKey, Expression&lt;Func&lt;TEntity, TKey&gt;&gt; getEntityStreamKey, Func&lt;TIn, TEntity, TOut&gt; resultSelector, Func&lt;TIn, TEntity&gt; createIfNotFound = null, int cacheSize = 10000)
    where TEntity : class where TCtx : DbContext</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td><span class="parametername">inputStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">ISingleStream</span>&lt;TCtx&gt;</td>
        <td><span class="parametername">dbContextStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Expression</span>&lt;<span class="xref">System.Func</span>&lt;TIn, TKey&gt;&gt;</td>
        <td><span class="parametername">getLeftStreamKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Expression</span>&lt;<span class="xref">System.Func</span>&lt;TEntity, TKey&gt;&gt;</td>
        <td><span class="parametername">getEntityStreamKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TIn, TEntity, TOut&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TIn, TEntity&gt;</td>
        <td><span class="parametername">createIfNotFound</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">cacheSize</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TOut&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TIn</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TEntity</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TCtx</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TOut</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_ThroughEntityFrameworkCore_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.ThroughEntityFrameworkCore*"></a>
  <h4 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_ThroughEntityFrameworkCore__2_IStream___0__System_String_ISingleStream___1__Expression_System_Func___0_System_Object___SaveMode_System_Int32_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.ThroughEntityFrameworkCore``2(IStream{``0},System.String,ISingleStream{``1},Expression{System.Func{``0,System.Object}},SaveMode,System.Int32)">ThroughEntityFrameworkCore&lt;TIn, TResource&gt;(IStream&lt;TIn&gt;, String, ISingleStream&lt;TResource&gt;, Expression&lt;Func&lt;TIn, Object&gt;&gt;, SaveMode, Int32)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IStream&lt;TIn&gt; ThroughEntityFrameworkCore&lt;TIn, TResource&gt;(this IStream&lt;TIn&gt; stream, string name, ISingleStream&lt;TResource&gt; dbContextStream, Expression&lt;Func&lt;TIn, object&gt;&gt; pivotKey, SaveMode saveMode = null, int chunkSize = 10000)
    where TIn : class where TResource : DbContext</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td><span class="parametername">stream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">ISingleStream</span>&lt;TResource&gt;</td>
        <td><span class="parametername">dbContextStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Expression</span>&lt;<span class="xref">System.Func</span>&lt;TIn, <span class="xref">System.Object</span>&gt;&gt;</td>
        <td><span class="parametername">pivotKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">SaveMode</span></td>
        <td><span class="parametername">saveMode</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">chunkSize</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TIn</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TResource</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_ThroughEntityFrameworkCore_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.ThroughEntityFrameworkCore*"></a>
  <h4 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_ThroughEntityFrameworkCore__2_IStream___0__System_String_ISingleStream___1__SaveMode_System_Int32_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.ThroughEntityFrameworkCore``2(IStream{``0},System.String,ISingleStream{``1},SaveMode,System.Int32)">ThroughEntityFrameworkCore&lt;TIn, TResource&gt;(IStream&lt;TIn&gt;, String, ISingleStream&lt;TResource&gt;, SaveMode, Int32)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IStream&lt;TIn&gt; ThroughEntityFrameworkCore&lt;TIn, TResource&gt;(this IStream&lt;TIn&gt; stream, string name, ISingleStream&lt;TResource&gt; dbContextStream, SaveMode bulkLoadMode = null, int chunkSize = 10000)
    where TIn : class where TResource : DbContext</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td><span class="parametername">stream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">ISingleStream</span>&lt;TResource&gt;</td>
        <td><span class="parametername">dbContextStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">SaveMode</span></td>
        <td><span class="parametername">bulkLoadMode</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">chunkSize</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TIn</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TResource</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_ThroughEntityFrameworkCore_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.ThroughEntityFrameworkCore*"></a>
  <h4 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_ThroughEntityFrameworkCore__4_IStream___0__System_String_ISingleStream___1__System_Func___0___1___3__Expression_System_Func___3_System_Object___System_Func___0___3___2__SaveMode_System_Int32_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.ThroughEntityFrameworkCore``4(IStream{``0},System.String,ISingleStream{``1},System.Func{``0,``1,``3},Expression{System.Func{``3,System.Object}},System.Func{``0,``3,``2},SaveMode,System.Int32)">ThroughEntityFrameworkCore&lt;TIn, TResource, TOut, TInEf&gt;(IStream&lt;TIn&gt;, String, ISingleStream&lt;TResource&gt;, Func&lt;TIn, TResource, TInEf&gt;, Expression&lt;Func&lt;TInEf, Object&gt;&gt;, Func&lt;TIn, TInEf, TOut&gt;, SaveMode, Int32)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IStream&lt;TOut&gt; ThroughEntityFrameworkCore&lt;TIn, TResource, TOut, TInEf&gt;(this IStream&lt;TIn&gt; stream, string name, ISingleStream&lt;TResource&gt; dbContextStream, Func&lt;TIn, TResource, TInEf&gt; getEntity, Expression&lt;Func&lt;TInEf, object&gt;&gt; pivotKey, Func&lt;TIn, TInEf, TOut&gt; getResult, SaveMode bulkInsertMode = null, int chunkSize = 10000)
    where TResource : DbContext where TInEf : class</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td><span class="parametername">stream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">ISingleStream</span>&lt;TResource&gt;</td>
        <td><span class="parametername">dbContextStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TIn, TResource, TInEf&gt;</td>
        <td><span class="parametername">getEntity</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Expression</span>&lt;<span class="xref">System.Func</span>&lt;TInEf, <span class="xref">System.Object</span>&gt;&gt;</td>
        <td><span class="parametername">pivotKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TIn, TInEf, TOut&gt;</td>
        <td><span class="parametername">getResult</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">SaveMode</span></td>
        <td><span class="parametername">bulkInsertMode</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">chunkSize</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TOut&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TIn</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TResource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TOut</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TInEf</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_ThroughEntityFrameworkCore_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.ThroughEntityFrameworkCore*"></a>
  <h4 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_ThroughEntityFrameworkCore__4_IStream___0__System_String_ISingleStream___1__System_Func___0___1___3__System_Func___0___3___2__SaveMode_System_Int32_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.ThroughEntityFrameworkCore``4(IStream{``0},System.String,ISingleStream{``1},System.Func{``0,``1,``3},System.Func{``0,``3,``2},SaveMode,System.Int32)">ThroughEntityFrameworkCore&lt;TIn, TResource, TOut, TInEf&gt;(IStream&lt;TIn&gt;, String, ISingleStream&lt;TResource&gt;, Func&lt;TIn, TResource, TInEf&gt;, Func&lt;TIn, TInEf, TOut&gt;, SaveMode, Int32)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IStream&lt;TOut&gt; ThroughEntityFrameworkCore&lt;TIn, TResource, TOut, TInEf&gt;(this IStream&lt;TIn&gt; stream, string name, ISingleStream&lt;TResource&gt; dbContextStream, Func&lt;TIn, TResource, TInEf&gt; getEntity, Func&lt;TIn, TInEf, TOut&gt; getResult, SaveMode bulkLoadMode = null, int chunkSize = 10000)
    where TResource : DbContext where TInEf : class</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td><span class="parametername">stream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">ISingleStream</span>&lt;TResource&gt;</td>
        <td><span class="parametername">dbContextStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TIn, TResource, TInEf&gt;</td>
        <td><span class="parametername">getEntity</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TIn, TInEf, TOut&gt;</td>
        <td><span class="parametername">getResult</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">SaveMode</span></td>
        <td><span class="parametername">bulkLoadMode</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">chunkSize</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TOut&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TIn</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TResource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TOut</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TInEf</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_UpdateEntityFrameworkCore_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.UpdateEntityFrameworkCore*"></a>
  <h4 id="Paillave_Etl_EntityFrameworkCore_Extensions_EntityFrameworkCoreEx_UpdateEntityFrameworkCore__3_IStream___0__System_String_ISingleStream___1__Expression_System_Func___0___2___Expression_System_Func___0___2___UpdateMode_System_Int32_" data-uid="Paillave.Etl.EntityFrameworkCore.Extensions.EntityFrameworkCoreEx.UpdateEntityFrameworkCore``3(IStream{``0},System.String,ISingleStream{``1},Expression{System.Func{``0,``2}},Expression{System.Func{``0,``2}},UpdateMode,System.Int32)">UpdateEntityFrameworkCore&lt;TIn, TResource, TEntity&gt;(IStream&lt;TIn&gt;, String, ISingleStream&lt;TResource&gt;, Expression&lt;Func&lt;TIn, TEntity&gt;&gt;, Expression&lt;Func&lt;TIn, TEntity&gt;&gt;, UpdateMode, Int32)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IStream&lt;TIn&gt; UpdateEntityFrameworkCore&lt;TIn, TResource, TEntity&gt;(this IStream&lt;TIn&gt; stream, string name, ISingleStream&lt;TResource&gt; dbContextStream, Expression&lt;Func&lt;TIn, TEntity&gt;&gt; updateKey, Expression&lt;Func&lt;TIn, TEntity&gt;&gt; updateValues, UpdateMode updateMode = null, int chunkSize = 10000)
    where TResource : DbContext where TEntity : class</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td><span class="parametername">stream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">ISingleStream</span>&lt;TResource&gt;</td>
        <td><span class="parametername">dbContextStream</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Expression</span>&lt;<span class="xref">System.Func</span>&lt;TIn, TEntity&gt;&gt;</td>
        <td><span class="parametername">updateKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Expression</span>&lt;<span class="xref">System.Func</span>&lt;TIn, TEntity&gt;&gt;</td>
        <td><span class="parametername">updateValues</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">UpdateMode</span></td>
        <td><span class="parametername">updateMode</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">chunkSize</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IStream</span>&lt;TIn&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TIn</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TResource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TEntity</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <p><img src="../images/full-black-logo.svg" alt="Logo Etl.Net"></p>
              <div class="contribution">
                <ul class="nav">
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
